initValue('context', '关机|未接通|未接');
initValue('nextdate', '3|4|5');
initValue('nexttime', '10:00');

document.getElementById('submit').onclick = function () {
    initSetValue('context');
    initSetValue('nextdate');
    initSetValue('nexttime');
    setTimeout(() => {
        initValue('context', '关机|未接通|未接');
        initValue('nextdate', '3|4|5');
        initValue('nexttime', '10:00');
        alert('OK');
    }, 1000);
}

// chrome.storage.onChanged.addListener(function (changes, areaName) {
//     console.log('value in ' + areaName + ' has been changed:');
//     console.log(changes);
// });